/**
 * Created by Administrator on 2017/9/21.
 */
require.config({
    paths: {
        "knockout": "js/knockout/knockout-3.4.2",
        "knockout-amd-helpers": "js/knockout/knockout-amd-helpers.min",
        "knockout-validation" : "js/knockout/knockout.validation.min",
        "text": "js/require/text",
        "jquery": "js/jquery/jquery-3.2.1.min",
        "app": "js/modules/app",
        "login" : "js/modules/login/login",
        "loginModule" : "js/modules/login/loginModule",
        "welcome" : "js/modules/welcome/welcome",
        "welcomeModule" : "js/modules/welcome/welcomeModule"
    }
});

require(['knockout', 'app', 'knockout-amd-helpers', 'text'], function (ko, App) {

    //ko.bindingHandlers.module.initializer = "initInfo";
    setTimeout(ko.applyBindings(new App()), 0);
});